.flowchartFunHelp {
  padding: 1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.flowchartFunHelp main > * + * {
  margin-top: calc(2 * var(--spacer-px));
}

.flowchartFunHelp main > h2,
.flowchartFunHelp main > h3 {
  margin-top: calc(4 * var(--spacer-px));
}

.flowchartFunHelp .code-sample,
.flowchartFunHelp p > code {
  font-size: 12px;
  background-color: var(--color-lineColor);
  color: var(--color-foreground);
  padding: 10px;
  border-radius: 4px;
  position: relative;
  -moz-tab-size: 2;
  tab-size: 2;
}

.flowchartFunHelp .code-sample[aria-current="location"] {
  background-color: hsl(var(--color-brandHsl), 20%);
  color: var(--color-foreground);
}

.flowchartFunHelp .code-example-link {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  right: 3px;
  top: 3px;
  background-color: var(--color-nodeHover);
  padding: 3px 5px;
  border-radius: 3px;
  text-decoration: none;
  position: absolute;
  color: inherit;
  border: 1px solid var(--color-edgeHover);
  color: gray;
}

.flowchartFunHelp .code-example-link:hover,
.flowchartFunHelp .code-example-link:focus {
  background-color: var(--color-nodeHover);
  color: #666;
  box-shadow: none;
}

.flowchartFunHelp p > code {
  display: inline-block;
  padding: 2px 4px;
}

.flowchartFunHelp video,
.flowchartFunHelp img {
  max-width: 80%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.flowchartFunHelp img + img {
  margin-top: 1rem;
}

/* TOC */
.flowchartFunHelp ul {
  list-style: none;
}

.flowchartFunHelp summary {
  cursor: pointer;
}

.flowchartFunHelp li {
  line-height: normal;
}

.flowchartFunHelp .sections {
  margin-top: calc(3 * var(--spacer-px));
  display: grid;
  gap: calc(3 * var(--spacer-px));
}

.flowchartFunHelp .section-title {
  font-weight: bold;
  font-size: 1rem;
  display: block;
  margin-bottom: calc(1 * var(--spacer-px));
}

.flowchartFunHelp .subsection-title {
  font-size: 0.9rem;
}

.flowchartFunHelp .section > ul {
  display: grid;
  gap: calc(1 * var(--spacer-px));
}

.flowchartFunHelp header a {
  color: var(--color-foreground);
}
.flowchartFunHelp header a:hover {
  color: var(--color-highlightColor);
}
